package com.lc.luzhengtang.conn;

import android.util.Log;

import com.google.gson.Gson;
import com.lc.luzhengtang.bean.FanLiDetailBean;
import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.http.note.HttpInlet;

import org.json.JSONObject;

/**
 * Created by Administrator on 2017/4/17.
 */
@HttpInlet(Conn.FANLI_DETAIL)
public class ConnFanLi extends BaseAsyPost<FanLiDetailBean> {

    public String buyuser_id;


    public ConnFanLi(String buyuser_id, AsyCallBack<FanLiDetailBean> asyCallBack) {
        super(asyCallBack);
        this.buyuser_id = buyuser_id;


    }

    @Override
    protected FanLiDetailBean parser(JSONObject object) throws Exception {
        Log.d(object.toString(), "aaaaaaaaaaaaaaaaa");
        Log.d(object.toString(), "aaaaaaaaaaaaaaaaa");
        Gson gson=new Gson();

        FanLiDetailBean loginBean=new FanLiDetailBean();

        loginBean=gson.fromJson(object.toString(),FanLiDetailBean.class);


        return loginBean;


    }
}



